<?php

namespace Database\Factories;

use App\Models\Whitelist;
use Illuminate\Database\Eloquent\Factories\Factory;

class WhitelistFactory extends Factory
{
  /**
   * The name of the factory's corresponding model.
   *
   * @var string
   */
  protected $model = Whitelist::class;

  /**
   * Define the model's default state.
   *
   * @return array
   */
  public function definition()
  {
    return [
      "user_id" => $this->faker->numberBetween(4, 22),
      'ip' => $this->faker->ipv4(),
      'type' => $this->faker->numberBetween(1, 2),
    ];
  }
}
